package net.bwie.realtime.jtp.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 简介说明:
 *
 * @author: LiLi
 * @date: 2025/05/27 14:51:41
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor

public class Order {

    // 订单基础信息
    private String orderId;
    private int userId;
    private int itemId;
    private String itemName;
    private String category;

    // 交易信息
    private double price;
    private int quantity;
    private double payment;
    private double discount;

    // 地域信息
    private String province;
    private String city;

    // 促销信息
    private String promotionId;  // 允许为null

    // 时间戳（毫秒）
    private long timestamp;

}
